﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace IEnumerableExtentions
{
    public static class ExtentionsForIEnumerable
    {
        public static dynamic Min<T>(this IEnumerable<T> num, T first, T second)
        {
            dynamic firstDynamic = first;
            dynamic secondDynamic = second;
            dynamic result = Math.Min(firstDynamic, secondDynamic);
            return result;
        }
    }
}